#pragma once
#include <QVariant>
#include <QMetaType> 

typedef enum _TreeItemType
{
	TreeItemType_Computer = 0,
	TreeItemType_Drive,
	TreeItemType_Dir,
	TreeItemType_File
} TreeItemType;

typedef struct _TreeItemData
{
	QString m_qstrId;
	TreeItemType m_iType;
	QString m_qstrName;
	QVariant m_data;
} TreeItemData;

Q_DECLARE_METATYPE(TreeItemData)
Q_DECLARE_METATYPE(TreeItemData*)